.word-recognition {
  border-top: 1px solid #efefef;
  .tip {
    font-size: 13px;
    line-height: 14px;
    color: #999;
  }
  .result {
    display: flex;
    align-items: center;
    .result-confidence {
      -webkit-transition-duration: 0.5s;
      transition-duration: 0.5s;
    }
    .result-sentence {
      margin-left: 10px;
    }
  }
  .recognition-wrap {
    position: relative;
    margin-top: 24px;
    .word-item {
      float: left;
      text-align: center;
      margin-right: 24px;
      > div {
        padding: 2px 6px;
      }
      .word {
        position: relative;
        height: 24px;
        line-height: 120%;
        border: 1px solid #aeaeae;
        border-radius: 5px;
        cursor: pointer;
      }
      .active {
        border-color: #1890ff;
        background: #1890ff;
        color: #fff;
      }
    }
  }
  .clear {
    clear: both;
  }
}

.word-edit {
  border: 1px solid #aeaeae;
  padding: 2px 5px;
  margin: 5px 0;
  text-align: center;
}

.sentence-edit {
  display: flex;
  align-items: center;
  .preview {
    display: flex;
    align-items: center;
    position: relative;

    .play-icon {
      position: absolute;
      right: 10px;
      top: 12px;
      color: #1890ff;
      cursor: pointer;
    }
  }
}

.word-wrap {
  position: relative;
  padding: 6px;
  display: flex;
  align-items: center;

  .word-inner {
    text-align: center;
    float: left;
  }
}
.group .word-edit {
  border-left: none;
  border-right: none;
}
.group .word-inner:last-child .word-edit {
  border-right: 1px solid #aeaeae;
}
.group .word-inner:first-child .word-edit {
  border-left: 1px solid #aeaeae;
}

:global {
  .ant-tabs-nav .ant-tabs-tab {
    margin: 0;
  }
}
